#include "selectcpp_s.h"
#ifdef TEST_CPP
#include <cstdio>
#include <thread>
#include <cstdlib>

void func()
{
	for (int i = 100; i < 200; ++i)
	{
		printf("%d\t", i);
	}
}

int main(int argc, char *argv[]){
	printf("main enter\n");
	std::thread t(func);
	printf("t created\n");
	for (int i = 0; i < 100; ++i){
		printf("%d\t", i);
	}
	printf("\n");
	t.join();
	return 0;
}
#endif
